import subprocess

# 运行简单命令 ls -l " ".join(["ls", "-l"])
result = subprocess.run(["tree"], capture_output=True, text=True, shell=True)
print(result.stdout)
